﻿using System;

namespace Abp.Runtime.Session
{
    /// <summary>
    /// Defines some session information that can be useful for applications.
    /// </summary>
    public interface IAbpSession
    {
        /// <summary>
        /// 用户编码
        /// </summary>
        Guid? AdminUserId { get; }
        /// <summary>
        /// 用户名称
        /// </summary>
        string AdminUserName { get; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        string SurName { get; }
        /// <summary>
        /// 单位编码
        /// </summary>
        Guid? CompanyId { get; }
        /// <summary>
        /// 单位名称
        /// </summary>
        string CompanyName { get; }
        /// <summary>
        /// 角色编码
        /// </summary>
        Guid? RoleId { get; }
        /// <summary>
        /// 角色名称
        /// </summary>
        string RoleName { get; }
        /// <summary>
        /// 单位类型
        /// </summary>
        int? CompanyType { get; }
        /// <summary>
        /// 单位行政区划码
        /// </summary>
        string CompanyAreaId { get; }
    }
}
